package com.boyunv.chainduty.example02;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

/*
 *@description
 * 封装审核信息
 *@author boyunv
 *@create 2023/8/21 23:00
 *@version 1.0
 */
@AllArgsConstructor
@Data
@ToString
public class AuthInfo {
    //状态码
    private String code;
    //审核相关信息
    private String info="";
    
    public AuthInfo(String code,String... infos){
        this.code=code;
        for (String str : infos) {
            this.info=this.info.concat(str+" ");
        }
    }
    
}
